package liuliu.throughwaring.control.onload;

import android.content.Context;

import liuliu.throughwaring.control.task.GetViewTask;

/**
 * Created by Administrator on 2015/11/26.
 */
public class OnloadListener {
    IOnloadView iOnloadView;
    Context mContext;
    GetViewTask getViewTask;

    public OnloadListener(Context context, IOnloadView iOnloadView) {
        this.mContext = context;
        this.iOnloadView = iOnloadView;
        getViewTask = new GetViewTask(context);
    }

    public void getView(String controller) {
        getViewTask.getView(controller,iOnloadView);
    }
}
